package com.wanmait.hr.service.Impl;

import com.wanmait.hr.mapper.ContractTypeMapper;
import com.wanmait.hr.service.ContractService;
import com.wanmait.hr.service.ContractTypeService;
import com.wanmait.hr.vo.ContractType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ContractTypeServiceImpl implements ContractTypeService {
    @Resource
    private ContractTypeMapper contractTypeMapper;
    @Override
    public List<ContractType> getContractType() {//获得合同类型
        return contractTypeMapper.getContractType();
    }
}
